package wsp.dailymarket.deals;

/**
 * Represents a category tuple that can be edited
 * @author Matt
 */
public class EditableCategory {

	private int cat_id;
	private String cat_name;
	private String cat_desc;
	private int cat_parent_id;
	private String cat_parent_name;
	private boolean editing;

	public EditableCategory() {
		cat_id = 0;
		cat_name = "";
		cat_desc = "";
		cat_parent_id = 0;
		cat_parent_name = "";
		editing = false;
	}
	
	public int getID() {
		return this.cat_id;
	}
	
	public void setID(int newValue) {
		this.cat_id = newValue;
	}
	
	public String getName() {
		return this.cat_name;
	}
	
	public void setName(String newValue) {
		this.cat_name = newValue;
	}
	
	public String getDesc() {
		return this.cat_desc;
	}
	
	public void setDesc(String newValue) {
		this.cat_desc = newValue;
	}

	public String getParentName() {
		return this.cat_parent_name;
	}

	public void setParentName(String newValue) {
		this.cat_parent_name = newValue;
	}

	public int getParentID() {
		return this.cat_parent_id;
	}

	public void setParentID(int newValue) {
		this.cat_parent_id = newValue;
	}

	public boolean isEditing() {
		return this.editing;
	}

	public void setEditing(boolean newValue) {
		this.editing = newValue;
	}

}
